<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>usb: xusb.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.gif"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">usb
   </div>
   <div id="projectbrief">Xilinx SDK Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xusb_8c.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">xusb.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gaeab13bf4d5ed84b5b9e0c1c651f50aaa"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#gaeab13bf4d5ed84b5b9e0c1c651f50aaa">XUsb_CfgInitialize</a> (<a class="el" href="struct_x_usb.html">XUsb</a> *InstancePtr, <a class="el" href="struct_x_usb___config.html">XUsb_Config</a> *ConfigPtr, UINTPTR EffectiveAddr)</td></tr>
<tr class="memdesc:gaeab13bf4d5ed84b5b9e0c1c651f50aaa"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function initializes a <a class="el" href="struct_x_usb.html" title="The XUsb driver instance data. ">XUsb</a> instance/driver.  <a href="group__usb__v5__0.html#gaeab13bf4d5ed84b5b9e0c1c651f50aaa">More...</a><br /></td></tr>
<tr class="separator:gaeab13bf4d5ed84b5b9e0c1c651f50aaa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9c50c0ee6d36d4b87a40018c2ad0fd25"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#ga9c50c0ee6d36d4b87a40018c2ad0fd25">XUsb_ConfigureDevice</a> (<a class="el" href="struct_x_usb.html">XUsb</a> *InstancePtr, <a class="el" href="struct_x_usb___device_config.html">XUsb_DeviceConfig</a> *CfgPtr)</td></tr>
<tr class="memdesc:ga9c50c0ee6d36d4b87a40018c2ad0fd25"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function initializes USB End points.  <a href="group__usb__v5__0.html#ga9c50c0ee6d36d4b87a40018c2ad0fd25">More...</a><br /></td></tr>
<tr class="separator:ga9c50c0ee6d36d4b87a40018c2ad0fd25"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4708ca8b9ca477b58d7da7db3f1be308"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#ga4708ca8b9ca477b58d7da7db3f1be308">XUsb_Start</a> (<a class="el" href="struct_x_usb.html">XUsb</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga4708ca8b9ca477b58d7da7db3f1be308"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function starts the USB Device.  <a href="group__usb__v5__0.html#ga4708ca8b9ca477b58d7da7db3f1be308">More...</a><br /></td></tr>
<tr class="separator:ga4708ca8b9ca477b58d7da7db3f1be308"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga53f7e5c356dbe880560a6eb5942a74d6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#ga53f7e5c356dbe880560a6eb5942a74d6">XUsb_Stop</a> (<a class="el" href="struct_x_usb.html">XUsb</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga53f7e5c356dbe880560a6eb5942a74d6"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function stops the USB device.  <a href="group__usb__v5__0.html#ga53f7e5c356dbe880560a6eb5942a74d6">More...</a><br /></td></tr>
<tr class="separator:ga53f7e5c356dbe880560a6eb5942a74d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2bfe41baf4bcdaae0da439ec758de24e"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#ga2bfe41baf4bcdaae0da439ec758de24e">XUsb_GetFrameNum</a> (const <a class="el" href="struct_x_usb.html">XUsb</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga2bfe41baf4bcdaae0da439ec758de24e"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function returns the current frame number.  <a href="group__usb__v5__0.html#ga2bfe41baf4bcdaae0da439ec758de24e">More...</a><br /></td></tr>
<tr class="separator:ga2bfe41baf4bcdaae0da439ec758de24e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa2f7958d25023d2ed18cfaabfb2baa0f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#gaa2f7958d25023d2ed18cfaabfb2baa0f">XUsb_SetDeviceAddress</a> (<a class="el" href="struct_x_usb.html">XUsb</a> *InstancePtr, u8 Address)</td></tr>
<tr class="memdesc:gaa2f7958d25023d2ed18cfaabfb2baa0f"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets the USB device address.  <a href="group__usb__v5__0.html#gaa2f7958d25023d2ed18cfaabfb2baa0f">More...</a><br /></td></tr>
<tr class="separator:gaa2f7958d25023d2ed18cfaabfb2baa0f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4d5a367719f199ad49b9020f0fdd22ab"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#ga4d5a367719f199ad49b9020f0fdd22ab">XUsb_SetTestMode</a> (<a class="el" href="struct_x_usb.html">XUsb</a> *InstancePtr, u8 TestMode, u8 *BufPtr)</td></tr>
<tr class="memdesc:ga4d5a367719f199ad49b9020f0fdd22ab"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets the USB device into a given test mode.  <a href="group__usb__v5__0.html#ga4d5a367719f199ad49b9020f0fdd22ab">More...</a><br /></td></tr>
<tr class="separator:ga4d5a367719f199ad49b9020f0fdd22ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1702a7ff1e0627217bdf4d4429a76f1c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#ga1702a7ff1e0627217bdf4d4429a76f1c">XUsb_DmaReset</a> (<a class="el" href="struct_x_usb.html">XUsb</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga1702a7ff1e0627217bdf4d4429a76f1c"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function resets the DMA module of the USB device.  <a href="group__usb__v5__0.html#ga1702a7ff1e0627217bdf4d4429a76f1c">More...</a><br /></td></tr>
<tr class="separator:ga1702a7ff1e0627217bdf4d4429a76f1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7255a426eb2c5a1c475fedaf265b7db2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#ga7255a426eb2c5a1c475fedaf265b7db2">XUsb_DmaTransfer</a> (<a class="el" href="struct_x_usb.html">XUsb</a> *InstancePtr, UINTPTR *SrcAddr, UINTPTR *DstAddr, u16 Length)</td></tr>
<tr class="memdesc:ga7255a426eb2c5a1c475fedaf265b7db2"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets the DMA registers with the given values to initiate a DMA data transfer.  <a href="group__usb__v5__0.html#ga7255a426eb2c5a1c475fedaf265b7db2">More...</a><br /></td></tr>
<tr class="separator:ga7255a426eb2c5a1c475fedaf265b7db2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf1806727cc17345c2b9a900804e3b322"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#gaf1806727cc17345c2b9a900804e3b322">XUsb_ReadErrorCounters</a> (<a class="el" href="struct_x_usb.html">XUsb</a> *InstancePtr, u8 *BitStuffErrors, u8 *PidErrors, u8 *CrcErrors)</td></tr>
<tr class="memdesc:gaf1806727cc17345c2b9a900804e3b322"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function reads the USB error counter regsiter and returns the error counters information.  <a href="group__usb__v5__0.html#gaf1806727cc17345c2b9a900804e3b322">More...</a><br /></td></tr>
<tr class="separator:gaf1806727cc17345c2b9a900804e3b322"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9d1522d41344290899ebbf1a40824697"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#ga9d1522d41344290899ebbf1a40824697">XUsb_UlpiPhyReadRegister</a> (<a class="el" href="struct_x_usb.html">XUsb</a> *InstancePtr, u8 RegAddr)</td></tr>
<tr class="memdesc:ga9d1522d41344290899ebbf1a40824697"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function initiates the USB ULPI PHY regsiter read transaction.  <a href="group__usb__v5__0.html#ga9d1522d41344290899ebbf1a40824697">More...</a><br /></td></tr>
<tr class="separator:ga9d1522d41344290899ebbf1a40824697"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5464e6b0871344e088f252872554b7bb"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#ga5464e6b0871344e088f252872554b7bb">XUsb_UlpiPhyWriteRegister</a> (<a class="el" href="struct_x_usb.html">XUsb</a> *InstancePtr, u8 RegAddr, u8 UlpiPhyRegData)</td></tr>
<tr class="memdesc:ga5464e6b0871344e088f252872554b7bb"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function initiates the USB ULPI PHY regsiter write transaction.  <a href="group__usb__v5__0.html#ga5464e6b0871344e088f252872554b7bb">More...</a><br /></td></tr>
<tr class="separator:ga5464e6b0871344e088f252872554b7bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga59efbc6f5496ad21e48659c5a7090425"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb__v5__0.html#ga59efbc6f5496ad21e48659c5a7090425">XUsb_SieReset</a> (<a class="el" href="struct_x_usb.html">XUsb</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga59efbc6f5496ad21e48659c5a7090425"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function resets the Serial Interface Engine.  <a href="group__usb__v5__0.html#ga59efbc6f5496ad21e48659c5a7090425">More...</a><br /></td></tr>
<tr class="separator:ga59efbc6f5496ad21e48659c5a7090425"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Copyright &copy; 2015 Xilinx Inc. All rights reserved.</li>
  </ul>
</div>
</body>
</html>
